#!/usr/bin/env python
# -*- encoding: utf-8 -*-

from collections import UserDict

duuids = {
'MEDIASUBTYPE_None':'{e436eb8e-524f-11ce-9f53-0020af0ba770}',
'MEDIATYPE_Video':'{73646976-0000-0010-8000-00aa00389b71}',
'MEDIATYPE_Audio':'{73647561-0000-0010-8000-00aa00389b71}',
'MEDIATYPE_Text':'{73747874-0000-0010-8000-00aa00389b71}',
'MEDIATYPE_Midi':'{7364696d-0000-0010-8000-00aa00389b71}',
'MEDIATYPE_Stream':'{e436eb83-524f-11ce-9f53-0020af0ba770}',
'MEDIATYPE_Interleaved':'{73766169-0000-0010-8000-00aa00389b71}',
'MEDIATYPE_File':'{656c6966-0000-0010-8000-00aa00389b71}',
'MEDIATYPE_ScriptCommand':'{73636d64-0000-0010-8000-00aa00389b71}',
'MEDIATYPE_DTVCCData':'{fb77e152-53b2-499c-b46b-509fc33edfd7}',
'MEDIATYPE_MSTVCaption':'{b88b8a89-b049-4c80-adcf-5898985e22c1}',
'MEDIATYPE_VBI':'{f72a76e1-eb0a-11d0-ace4-0000c0cc16ba}',
'MEDIASUBTYPE_DVB_SUBTITLES':'{34ffcbc3-d5b3-4171-9002-d4c60301697f}',
'MEDIASUBTYPE_ISDB_CAPTIONS':'{059dd67d-2e55-4d41-8d1b-01f5e4f50607}',
'MEDIASUBTYPE_ISDB_SUPERIMPOSE':'{36dc6d28-f1a6-4216-9048-9cfcefeb5eba}',
'MEDIATYPE_LMRT':'{74726c6d-0000-0010-8000-00aa00389b71}',
'MEDIATYPE_URL_STREAM':'{736c7275-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_CLPL':'{4c504c43-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_YUYV':'{56595559-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_IYUV':'{56555949-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_YVU9':'{39555659-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_Y411':'{31313459-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_Y41P':'{50313459-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_YUY2':'{32595559-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_YVYU':'{55595659-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_UYVY':'{59565955-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_Y211':'{31313259-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_CLJR':'{524a4c43-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_IF09':'{39304649-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_CPLA':'{414c5043-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_MJPG':'{47504a4d-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_TVMJ':'{4a4d5654-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_WAKE':'{454b4157-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_CFCC':'{43434643-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_IJPG':'{47504a49-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_Plum':'{6d756c50-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_DVCS':'{53435644-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_H264':'{34363248-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_DVSD':'{44535644-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_MDVF':'{4656444d-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_RGB1':'{e436eb78-524f-11ce-9f53-0020af0ba770}',
'MEDIASUBTYPE_RGB4':'{e436eb79-524f-11ce-9f53-0020af0ba770}',
'MEDIASUBTYPE_RGB8':'{e436eb7a-524f-11ce-9f53-0020af0ba770}',
'MEDIASUBTYPE_RGB565':'{e436eb7b-524f-11ce-9f53-0020af0ba770}',
'MEDIASUBTYPE_RGB555':'{e436eb7c-524f-11ce-9f53-0020af0ba770}',
'MEDIASUBTYPE_RGB24':'{e436eb7d-524f-11ce-9f53-0020af0ba770}',
'MEDIASUBTYPE_RGB32':'{e436eb7e-524f-11ce-9f53-0020af0ba770}',
'MEDIASUBTYPE_ARGB1555':'{297c55af-e209-4cb3-b757-c76d6b9c88a8}',
'MEDIASUBTYPE_ARGB4444':'{6e6415e6-5c24-425f-93cd-80102b3d1cca}',
'MEDIASUBTYPE_A2R10G10B10':'{2f8bb76d-b644-4550-acf3-d30caa65d5c5}',
'MEDIASUBTYPE_A2B10G10R10':'{576f7893-bdf6-48c4-875f-ae7b81834567}',
'MEDIASUBTYPE_AYUV':'{56555941-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_AI44':'{34344941-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_IA44':'{34344149-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_RGB32_D3D_DX7_RT':'{32335237-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_RGB16_D3D_DX7_RT':'{36315237-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_ARGB32_D3D_DX7_RT':'{38384137-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_ARGB4444_D3D_DX7_RT':'{34344137-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_ARGB1555_D3D_DX7_RT':'{35314137-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_RGB32_D3D_DX9_RT':'{32335239-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_RGB16_D3D_DX9_RT':'{36315239-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_ARGB32_D3D_DX9_RT':'{38384139-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_ARGB4444_D3D_DX9_RT':'{34344139-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_ARGB1555_D3D_DX9_RT':'{35314139-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_YV12':'{32315659-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_NV12':'{3231564e-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_NV11':'{3131564e-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_NV24':'{3432564e-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_IMC1':'{31434d49-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_IMC2':'{32434d49-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_IMC3':'{33434d49-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_IMC4':'{34434d49-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_S340':'{30343353-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_S342':'{32343353-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_Overlay':'{e436eb7f-524f-11ce-9f53-0020af0ba770}',
'MEDIASUBTYPE_MPEG1Packet':'{e436eb80-524f-11ce-9f53-0020af0ba770}',
'MEDIASUBTYPE_MPEG1Payload':'{e436eb81-524f-11ce-9f53-0020af0ba770}',
'MEDIASUBTYPE_MPEG1AudioPayload':'{00000050-0000-0010-8000-00aa00389b71}',
'MEDIATYPE_MPEG1SystemStream':'{e436eb82-524f-11ce-9f53-0020af0ba770}',
'MEDIASUBTYPE_MPEG1System':'{e436eb84-524f-11ce-9f53-0020af0ba770}',
'MEDIASUBTYPE_MPEG1VideoCD':'{e436eb85-524f-11ce-9f53-0020af0ba770}',
'MEDIASUBTYPE_MPEG1Video':'{e436eb86-524f-11ce-9f53-0020af0ba770}',
'MEDIASUBTYPE_MPEG1Audio':'{e436eb87-524f-11ce-9f53-0020af0ba770}',
'MEDIASUBTYPE_Avi':'{e436eb88-524f-11ce-9f53-0020af0ba770}',
'MEDIASUBTYPE_QTMovie':'{e436eb89-524f-11ce-9f53-0020af0ba770}',
'MEDIASUBTYPE_QTRpza':'{617a7072-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_QTSmc':'{20636d73-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_QTRle':'{20656c72-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_QTJpeg':'{6765706a-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_PCMAudio_Obsolete':'{e436eb8a-524f-11ce-9f53-0020af0ba770}',
'MEDIASUBTYPE_PCM':'{00000001-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_WAVE':'{e436eb8b-524f-11ce-9f53-0020af0ba770}',
'MEDIASUBTYPE_AU':'{e436eb8c-524f-11ce-9f53-0020af0ba770}',
'MEDIASUBTYPE_AIFF':'{e436eb8d-524f-11ce-9f53-0020af0ba770}',
'MEDIASUBTYPE_dvsd':'{64737664-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_dvhd':'{64687664-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_dvsl':'{6c737664-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_dv25':'{35327664-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_dv50':'{30357664-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_dvh1':'{31687664-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_DtvCcData':'{f52addaa-36f0-43f5-95ea-6d866484262a}',
'MEDIASUBTYPE_CC_CONTAINER':'{7ea626db-54da-437b-be9f-f73073adfa3c}',
'MEDIASUBTYPE_TELETEXT':'{f72a76e3-eb0a-11d0-ace4-0000c0cc16ba}',
'MEDIASUBTYPE_WSS':'{2791d576-8e7a-466f-9e90-5d3f3083738b}',
'MEDIASUBTYPE_VPS':'{a1b3f620-9792-4d8d-81a4-86af25772090}',
'MEDIASUBTYPE_DRM_Audio':'{00000009-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_IEEE_FLOAT':'{00000003-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_DOLBY_AC3_SPDIF':'{00000092-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_RAW_SPORT':'{00000240-0000-0010-8000-00aa00389b71}',
'MEDIASUBTYPE_SPDIF_TAG_241h':'{00000241-0000-0010-8000-00aa00389b71}',
'CLSID_ProtoFilterGraph':'{e436ebb0-524f-11ce-9f53-0020af0ba770}',
'CLSID_SystemClock':'{e436ebb1-524f-11ce-9f53-0020af0ba770}',
'CLSID_FilterMapper':'{e436ebb2-524f-11ce-9f53-0020af0ba770}',
'CLSID_FilterGraph':'{e436ebb3-524f-11ce-9f53-0020af0ba770}',
'CLSID_FilterGraphNoThread':'{e436ebb8-524f-11ce-9f53-0020af0ba770}',
'CLSID_FilterGraphPrivateThread':'{a3ecbc41-581a-4476-b693-a63340462d8b}',
'CLSID_FileSource':'{701722e0-8ae3-11ce-a85c-00aa002feab5}',
'CLSID_MPEG1Splitter':'{336475d0-942a-11ce-a870-00aa002feab5}',
'CLSID_CaptureProperties':'{1b544c22-fd0b-11ce-8c63-00aa0044b51f}',
'CLSID_FGControl':'{e436ebb4-524f-11ce-9f53-0020af0ba770}',
'CLSID_VideoRenderer':'{70e102b0-5556-11ce-97c0-00aa0055595a}',
'CLSID_Colour':'{1643e180-90f5-11ce-97d5-00aa0055595a}',
'CLSID_Dither':'{1da08500-9edc-11cf-bc10-00aa00ac74f6}',
'CLSID_AsyncReader':'{e436ebb5-524f-11ce-9f53-0020af0ba770}',
'CLSID_URLReader':'{e436ebb6-524f-11ce-9f53-0020af0ba770}',
'CLSID_PersistMonikerPID':'{e436ebb7-524f-11ce-9f53-0020af0ba770}',
'CLSID_AVIMIDIRender':'{07b65360-c445-11ce-afde-00aa006c14f4}',
'CLSID_MPEG2Demultiplexer':'{afb6c280-2c41-11d3-8a60-0000f81e0e4a}',
'CLSID_MPEG2Demultiplexer_NoClock':'{687d3367-3644-467a-adfe-6cd7a85c4a2c}',
'CLSID_MMSPLITTER':'{3ae86b20-7be8-11d1-abe6-00a0c905f375}',
'CLSID_SBE2Sink':'{e2448508-95da-4205-9a27-7ec81e723b1a}',
'CLSID_StreamBufferSource':'{c9f5fe02-f851-4eb5-99ee-ad602af1e619}',
'CLSID_StreamBufferConfig':'{fa8a68b2-c864-4ba2-ad53-d3876a87494b}',
'CLSID_StreamBufferThumbnailHandler':'{713790ee-5ee1-45ba-8070-a1337d2762fa}',
'CLSID_Mpeg2VideoStreamAnalyzer':'{6cfad761-735d-4aa5-8afc-af91a7d61eba}',
'CLSID_SBE2File':'{93a094d7-51e8-485b-904a-8d6b97dc6b39}',
'CLSID_Line21Decoder2':'{e4206432-01a1-4bee-b3e1-3702c8edc574}',
'CLSID_SystemDeviceEnum':'{62be5d10-60eb-11d0-bd3b-00a0c911ce86}',
'CLSID_CDeviceMoniker':'{4315d437-5b8c-11d0-bd3b-00a0c911ce86}',
'CLSID_VideoInputDeviceCategory':'{860bb310-5d01-11d0-bd3b-00a0c911ce86}',
'CLSID_CVidCapClassManager':'{860bb310-5d01-11d0-bd3b-00a0c911ce86}',
'CLSID_LegacyAmFilterCategory':'{083863f1-70de-11d0-bd40-00a0c911ce86}',
'CLSID_CQzFilterClassManager':'{083863f1-70de-11d0-bd40-00a0c911ce86}',
'CLSID_DVDHWDecodersCategory':'{2721ae20-7e70-11d0-a5d6-28db04c10000}',
'CLSID_MediaEncoderCategory':'{7d22e920-5ca9-4787-8c2b-a6779bd11781}',
'CLSID_MediaMultiplexerCategory':'{236c9559-adce-4736-bf72-bab34e392196}',
'CLSID_MemoryAllocator':'{1e651cc0-b199-11d0-8212-00c04fc32c45}',
'CLSID_DvdGraphBuilder':'{fcc152b7-f372-11d0-8e00-00c04fd7c08b}',
'CLSID_DVDState':'{f963c5cf-a659-4a93-9638-caf3cd277d13}',
'CLSID_DtvCcFilter':'{fb056ba0-2502-45b9-8e86-2b40de84ad29}',
'CLSID_CaptionsFilter':'{2f7ee4b6-6ff5-4eb4-b24a-2bfc41117171}',
'CLSID_SubtitlesFilter':'{9f22cfea-ce07-41ab-8ba0-c7364af90af9}',
'CLSID_DirectShowPluginControl':'{8670c736-f614-427b-8ada-bbadc587194b}',
'FORMAT_None':'{0f6417d6-c318-11d0-a43f-00a0c9223196}',
'FORMAT_VideoInfo':'{05589f80-c356-11ce-bf01-00aa0055595a}',
'FORMAT_VideoInfo2':'{f72a76a0-eb0a-11d0-ace4-0000c0cc16ba}',
'FORMAT_WaveFormatEx':'{05589f81-c356-11ce-bf01-00aa0055595a}',
'FORMAT_MPEGVideo':'{05589f82-c356-11ce-bf01-00aa0055595a}',
'FORMAT_MPEGStreams':'{05589f83-c356-11ce-bf01-00aa0055595a}',
'FORMAT_DvInfo':'{05589f84-c356-11ce-bf01-00aa0055595a}',
'FORMAT_525WSS':'{c7ecf04d-4582-4869-9abb-bfb523b62edf}',
'CLSID_DirectDrawProperties':'{944d4c00-dd52-11ce-bf0e-00aa0055595a}',
'CLSID_PerformanceProperties':'{59ce6880-acf8-11cf-b56e-0080c7c4b68a}',
'CLSID_QualityProperties':'{418afb70-f8b8-11ce-aac6-0020af0b99a3}',
'IID_IBaseVideoMixer':'{61ded640-e912-11ce-a099-00aa00479a58}',
'IID_IDirectDrawVideo':'{36d39eb0-dd75-11ce-bf0e-00aa0055595a}',
'IID_IQualProp':'{1bd0ecb0-f8e2-11ce-aac6-0020af0b99a3}',
'CLSID_ModexProperties':'{0618aa30-6bc4-11cf-bf36-00aa0055595a}',
'IID_IFullScreenVideo':'{dd1d7110-7836-11cf-bf47-00aa0055595a}',
'IID_IFullScreenVideoEx':'{53479470-f1dd-11cf-bc42-00aa00ac74f6}',
'IID_IMpegAudioDecoder':'{b45dd570-3c77-11d1-abe1-00a0c905f375}',
'FORMAT_CAPTIONED_H264VIDEO':'{a4efc024-873e-4da3-898b-474ddbd79fd0}',
'CAPTION_FORMAT_DVB':'{12230db4-ff2a-447e-bb88-6841c416d068}',
'CAPTION_FORMAT_DIRECTV':'{e9ca1ce7-915e-47be-9bb9-bf1d8a13a5ec}',
'CAPTION_FORMAT_ECHOSTAR':'{ebb1a262-1158-4b99-ae80-92ac776952c4}',
'FORMAT_CAPTIONED_MPEG2VIDEO':'{7ab2ada2-81b6-4f14-b3c8-d0c486393b67}',
'PIN_CATEGORY_CAPTURE':'{fb6c4281-0353-11d1-905f-0000c0cc16ba}',
'PIN_CATEGORY_PREVIEW':'{fb6c4282-0353-11d1-905f-0000c0cc16ba}',
'PIN_CATEGORY_ANALOGVIDEOIN':'{fb6c4283-0353-11d1-905f-0000c0cc16ba}',
'PIN_CATEGORY_VBI':'{fb6c4284-0353-11d1-905f-0000c0cc16ba}',
'PIN_CATEGORY_VIDEOPORT':'{fb6c4285-0353-11d1-905f-0000c0cc16ba}',
'PIN_CATEGORY_NABTS':'{fb6c4286-0353-11d1-905f-0000c0cc16ba}',
'PIN_CATEGORY_EDS':'{fb6c4287-0353-11d1-905f-0000c0cc16ba}',
'PIN_CATEGORY_TELETEXT':'{fb6c4288-0353-11d1-905f-0000c0cc16ba}',
'PIN_CATEGORY_CC':'{fb6c4289-0353-11d1-905f-0000c0cc16ba}',
'PIN_CATEGORY_STILL':'{fb6c428a-0353-11d1-905f-0000c0cc16ba}',
'PIN_CATEGORY_TIMECODE':'{fb6c428b-0353-11d1-905f-0000c0cc16ba}',
'PIN_CATEGORY_VIDEOPORT_VBI':'{fb6c428c-0353-11d1-905f-0000c0cc16ba}',
'CLSID_AudioRendererAdvancedProperties':'{37e92a92-d9aa-11d2-bf84-8ef2b1555aed}',
'CLSID_VideoMixingRenderer':'{b87beb7b-8d29-423f-ae4d-6582c10175ac}',
'CLSID_VideoRendererDefault':'{6bc1cffa-8fc1-4261-ac22-cfb4cc38db50}',
'CLSID_AllocPresenter':'{99d54f63-1a69-41ae-aa4d-c976eb3f0713}',
'CLSID_AllocPresenterDDXclMode':'{4444ac9e-242e-471b-a3c7-45dcd46352bc}',
'CLSID_VideoPortManager':'{6f26a6cd-967b-47fd-874a-7aed2c9d25a2}',
'CLSID_VideoMixingRenderer9':'{51b4abf3-748f-4e3b-a276-c828330e926a}',
'CLSID_MFVideoMixer9':'{e474e05a-ab65-4f6a-827c-218b1baaf31f}',
'CLSID_EVRTearlessWindowPresenter9':'{a0a7a57b-59b2-4919-a694-add0a526c373}',
'CLSID_EVRPlaybackPipelineOptimizer':'{62079164-233b-41f8-a80f-f01705f514a8}',
'CLSID_ATSCNetworkProvider':'{0dad2fdd-5fd7-11d3-8f50-00c04f7971e2}',
'CLSID_ATSCNetworkPropertyPage':'{e3444d16-5ac4-4386-88df-13fd230e1dda}',
'CLSID_DVBSNetworkProvider':'{fa4b375a-45b4-4d45-8440-263957b11623}',
'DSATTRIB_UDCRTag':'{eb7836ca-14ff-4919-bce7-3af12319e50c}',
'DSATTRIB_PicSampleSeq':'{2f5bae02-7b8f-4f60-82d6-e4ea2f1f4c99}',
'DSATTRIB_OptionalVideoAttributes':'{5a5f08ca-55c2-4033-92ab-55db8f781226}',
'DSATTRIB_CC_CONTAINER_INFO':'{e7e050fb-dd5d-40dd-9915-35dcb81bdc8a}',
'DSATTRIB_PBDATAG_ATTRIBUTE':'{e0b56679-12b9-43cc-b7df-578caa5a7b63}',
'DSATTRIB_CAPTURE_STREAMTIME':'{0c1a5614-30cd-4f40-bcbf-d03e52306207}',
'DSATTRIB_DSHOW_STREAM_DESC':'{5fb5673b-a2a-4565-827b-6853fd75e611}',
'DSATTRIB_SAMPLE_LIVE_STREAM_TIME':'{892cd111-72f3-411d-8b91-a9e9123ac29a}',
'UUID_UdriTagTables':'{e1b98d74-9778-4878-b664-eb2020364d88}',
'UUID_WMDRMTagTables':'{5dcd1101-9263-45bb-a4d5-c415ab8c589c}',
'CLSID_DShowTVEFilter':'{05500280-faa5-4df9-8246-bfc23ac5cea8}',
'CLSID_TVEFilterTuneProperties':'{05500281-faa5-4df9-8246-bfc23ac5cea8}',
'CLSID_TVEFilterCCProperties':'{05500282-faa5-4df9-8246-bfc23ac5cea8}',
'CLSID_TVEFilterStatsProperties':'{05500283-faa5-4df9-8246-bfc23ac5cea8}',
'CLSID_ICodecAPIProxy':'{7ff0997a-1999-4286-a73c-622b8814e7eb}',
'CLSID_IVideoEncoderCodecAPIProxy':'{b05dabd9-56e5-4fdc-afa4-8a47e91f1c9c}',
'ENCAPIPARAM_BITRATE':'{49cc4c43-ca83-4ad4-a9af-f3696af666df}',
'ENCAPIPARAM_SAP_MODE':'{c0171db-fefc-4af7-9991-a5657c191cd1}',
'CODECAPI_CHANGELISTS':'{62b12acf-f6b0-47d9-9456-96f22c4e0b9d}',
'CODECAPI_VIDEO_ENCODER':'{7112e8e1-3d03-47ef-8e60-03f1cf537301}',
'CODECAPI_AUDIO_ENCODER':'{b9d19a3e-f897-429c-bc46-8138b7272b2d}',
'CODECAPI_SETALLDEFAULTS':'{6c5e6a7c-acf8-4f55-a999-1a628109051b}',
'CODECAPI_ALLSETTINGS':'{6a577e92-83e1-4113-adc2-4fcec32f83a1}',
'CODECAPI_SUPPORTSEVENTS':'{0581af97-7693-4dbd-9dca-3f9ebd6585a1}',
'CODECAPI_CURRENTCHANGELIST':'{1cb14e83-7d72-4657-83fd-47a2c5b9d13d}',
'CLSID_SBE2MediaTypeProfile':'{1f26a602-2b5c-4b63-b8e8-9ea5c1a7dc2e}',
'CODECAPI_AVDecMmcssClass':'{e0ad4828-df66-4893-9f33-788aa4ec4082}',
'CLSID_CaptureGraphBuilder2':'{bf87b6e1-8c27-11d0-b3f0-00aa003761c5}',
'CLSID_VideoInputDeviceCategory':'{860bb310-5d01-11d0-bd3b-00a0c911ce86}',
'CLSID_VideoCrossbarCategory':'{a799a801-a46d-11d0-a18c-00a02401dcd4}',
'CLSID_FFDshowRawVideoFilter':'{0b390488-d80f-4a68-8408-48dc199f0e97}',
'CLSID_FFDshowAudioDecoder':'{0F40E1E5-4F79-4988-B1A9-CC98794E6B55}',
'CLSID_DSoundRender':'{79376820-07d0-11cf-a24d-0020afd79767}',
'CLSID_EnhancedVideoRenderer':'{fa10746c-9b63-4b6c-bc49-fc300ea5f256}',
'MR_VIDEO_RENDER_SERVICE':'{1092a86c-ab1a-459a-a336-831fbc4d11ff}',
}
ruuids = dict((v,k) for k, v in duuids.items())
rids = ruuids

class __ids(UserDict):
    def __init__(self):
        self.__dict__ = duuids
        self.data = duuids

ids = __ids()

if __name__ == "__main__":
    clsid = ids.MEDIATYPE_Video
    print(repr(clsid))
    print(repr(rids[clsid]))


